Skip to content

Conversation

@OddBloke
Copy link
Contributor

@OddBloke OddBloke commented Aug 7, 2017

RawConfigParser.section_items() contains the codepath that was run in .items() when arguments were passed. .items() continues to pass through to super().items() when no arguments are passed. If arguments are given, it emits a DeprecationWarning and passes through to .section_items().

https://bugs.python.org/issue31129

Daniel Watkins added 3 commits August 6, 2017 23:33
RawConfigParser.section_items() contains the codepath that was run in
.items() when arguments were passed.  .items() continues to pass through
to super().items() when no arguments are passed.  If arguments are
given, it emits a DeprecationWarning and passes through to
.section_items().
But ensure that we do get a DeprecationWarning.
@gvanrossum
Copy link
Member

Let's not do this. Thanks for your proposal!

@gvanrossum gvanrossum closed this Aug 14, 2017
@OddBloke OddBloke deleted the bpo/31129 branch August 14, 2017 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants